Skip Headers

Oracle® Objects for OLE C++ Class Library Developer's Guide 10g Release 2 (10.2) Part Number B14308-01 |
Home | Book List | Contents | Index | Master Index | Feedback

# Trim Method

Applies To

OCollection

Description

Trims a given number of elements from the end of the collection.

Usage

void Trim(int size) const throw(OException)

Arguments

size | An integer specifying the number of elements to trim.

Remarks

The elements are removed from the end of the collection. An error is returned if size is greater than the current size of the collection.